package com.lxw.demo.login.service.Impl;

import com.lxw.demo.login.domain.User;
import com.lxw.demo.login.mapper.UserMapper;
import com.lxw.demo.login.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserService implements IUserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public List<User> userLogin(String account) {
        return userMapper.userLogin(account);
    }
}
